package patternAdapter;

public class AdapterMain {
	
	static void  killOrder(Killer k){
		k.kill();
		System.out.println("Killed with "+ k.weapon);
	}

	public static void main(String[] args) {
		Hitman h = new Hitman();

		Killer ha= new HitmanAdapter(h);
		Killer k = new Killer();
		killOrder(ha);
		killOrder(k);
		
	}

}
